package org.dromara.business.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.business.domain.Message;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 系统消息视图对象 message
 *
 * @author zlj
 * @date 2024-08-26
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Message.class)
public class MessageVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 消息内容
     */
    private String messageContent;
    /**
     * 头像
     */
    private String wxAvatar;
    /**
     * 昵称
     */
    private String nickName;
    /**
     * 发布时间
     */
    private Date createTime;

    /**
     * 是否为当前用户 true:自己  false:对面
     */
    private Boolean isMe;
    private Long roomId;
}
